﻿@using WaterRevenueMS.Domain.ViewModels.Authen.User
@model ChangePwdModel

@using (Html.BeginForm("ChangePwd", "User", FormMethod.Post, new { @class = "form-horizontal", @id = "modal-content" }))
{
@Html.HiddenFor(t => t.Id)
@Html.HiddenFor(t => t.OldLoginPwd)
@Html.HiddenFor(t=>t.LoginName)
@Html.HiddenFor(t => t.Email);
<div class="control-group">
    <label class="control-label-form">
        用户名 :          
    </label>
    <div class="controls">
        <label class="label-text">
            @Model.LoginName
        </label>
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
        电子邮件 :          
    </label>
    <div class="controls">
        <label class="label-text">
            @Model.Email
        </label>
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
        <label class="red">*</label>新密码 :
    </label>
    <div class="controls">
        @Html.PasswordFor(t => t.NewLoginPwd, new { @class = "form-control", value = Model.NewLoginPwd })
        @Html.ValidationMessageFor(m => m.NewLoginPwd)
    </div>
</div>
<div class="control-group">
    <label class="control-label-form">
        <label class="red">*</label>确认密码 :
    </label>
    <div class="controls">
        @Html.PasswordFor(t => t.NewLoginPwdConfirm, new { @class = "form-control", value = Model.NewLoginPwdConfirm })
        @Html.ValidationMessageFor(m => m.NewLoginPwdConfirm)
    </div>
</div>
}
